package com.weitu.permission.dictionary.entity;

import com.weitu.permission.dictionaryType.entity.DictionaryType;

import java.io.Serializable;

/**
 * Created by smp on 2017/3/14.
 */
public class Dictionary implements Serializable {
    /**
     * id
     * Column: SYS_DICTIONARY.id
     */
    private String id;
    /**
     * 字典编号
     * Column: SYS_DICTIONARY.code
     */
    private String code;
    /**
     * 字典名称
     * Column: SYS_DICTIONARY.name
     */
    private String name;
    /**
     * 字典类型id
     * Column: SYS_DICTIONARY.typeId
     */
    private String typeId;
    /**
     * 是否只读 0 读写； 1 只读 默认0
     * Column: SYS_DICTIONARY.readonly
     */
    private Integer readonly;
    /**
     * 扩展字段1
     * Column: SYS_DICTIONARY.data1
     */
    private String data1;
    /**
     * 扩展字段2
     * Column: SYS_DICTIONARY.data2
     */
    private String data2;
    /**
     * 扩展字段3
     * Column: SYS_DICTIONARY.data3
     */
    private String data3;
    /**
     * 备注
     * Column: SYS_DICTIONARY.remarks
     */
    private String remarks;
    /**
     * 删除状态(0:未删除；1：已删除，默认为0)
     * Column: SYS_DICTIONARY.delState
     */
    private Integer delState;
    /**
     * 排序
     * Column: SYS_DICTIONARY.sort
     */
    private Integer sort;
    /**
     * 添加人id
     * Column: SYS_DICTIONARY.addUserId
     */
    private String addUserId;
    /**
     * 添加时间
     * Column: SYS_DICTIONARY.addTime
     */
    private String addTime;
    /**
     * 最后一次修改人ID
     * Column: SYS_DICTIONARY.updateUserId
     */
    private String updateUserId;
    /**
     * 最后修改时间
     * Column: SYS_DICTIONARY.updateTime
     */
    private String updateTime;
    /**
     * 所属类型
     * Column: SYS_DEPARTMENT
     */
    private DictionaryType dictionaryType;
    public String getId() {
        return id;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getTypeId() {
        return typeId;
    }

    public Integer getReadonly() {
        return readonly;
    }

    public String getData1() {
        return data1;
    }

    public String getData2() {
        return data2;
    }

    public String getData3() {
        return data3;
    }

    public String getRemarks() {
        return remarks;
    }

    public Integer getDelState() {
        return delState;
    }

    public Integer getSort() {
        return sort;
    }

    public String getAddUserId() {
        return addUserId;
    }

    public String getAddTime() {
        return addTime;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public void setReadonly(Integer readonly) {
        this.readonly = readonly;
    }

    public void setData1(String data1) {
        this.data1 = data1;
    }

    public void setData2(String data2) {
        this.data2 = data2;
    }

    public void setData3(String data3) {
        this.data3 = data3;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public void setDelState(Integer delState) {
        this.delState = delState;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setAddUserId(String addUserId) {
        this.addUserId = addUserId;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public DictionaryType getDictionaryType() {
        return dictionaryType;
    }

    public void setDictionaryType(DictionaryType dictionaryType) {
        this.dictionaryType = dictionaryType;
    }
}
